home *** CD-ROM | disk | FTP | other *** search
- "FILE"="Xteq Systems X-Setup Plugin 3.1"
- "TYPE"="1"
- "COUNT"="5"
- "UIPATH"="Internet\Internet Explorer\System"
- "NAME"="URL Templates"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Template 1"
- "TEXT 2"="Template 2"
- "TEXT 3"="Template 3"
- "TEXT 4"="Template 4"
- "TEXT 5"="Template 5"
- "DESCRIPTION 1"="Entering a simple word in the "Address" field of Internet Explorer causes it to try resolving the name using one of these templates."
- "DESCRIPTION 2"="For example, if you enter "AUTO", Internet Explorer first tries to find the site "www.AUTO.com", then "www.AUTO.edu" and so on."
- "AUTHOR"="Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
- "COMMENT 2"="Version 1.2"
-
-
- sPath="HKLM\Software\Microsoft\Internet Explorer\Main\UrlTemplate\"
- Sub Plugin_Initialize
- if RegPathExists(sPath) then
- for l=1 to 5
- s=RegReadValue(sPath & l)
- Call SetUIElement(l,s)
- Next
- else
- Disable
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- for l=1 to 5
- s=GetUIElement(l)
- Call RegWriteValue(sPath & l,s,1)
- next
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-